package com.demo.camunda.util.ExecptionExecution;

import java.util.HashMap;
import java.util.Map;

public class ExceptionMapValue {

    private static final Map<String,String> map = new HashMap<>();

    private static final String USER_NOT_FOUND = "USER_NOT_FOUND";
    private static final String USER_IS_EXISTED = "USER_IS_EXISTED";

    static {
        map.put(USER_NOT_FOUND,"用户不存在");
        map.put(USER_IS_EXISTED,"用户名已存在");
    }

    public  static  String getExceptionValue(String s){
        return  map.get(s);
    }
}
